package com.service;

import com.dao.OrderDao;
import com.pojo.Cart;
import com.pojo.Order;
import com.pojo.OrderItem;

import java.util.List;

public interface OrderService {
    //创建订单
    public String createOrder(Cart cart , Integer userId);

    public List<Order> showMyOrders(Integer userid);

    List<OrderItem> showOrderItem(String orderId);
}
